package com.zcup.miaosha.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zcup.miaosha.entity.User;

public interface UserService extends IService<User> {
    //用redis中写入用户访问次数
    int saveUserCount(Integer userId);

    //判断单位时间调用次数
    boolean getUserCount(Integer userId);
}
